import TheHeader from '@/components/ui/TheHeader.vue'
import TheCategory from '@/components/ui/TheCategory.vue'
import TheMarket from '@/components/ui/TheMarket.vue'
import TheNavigatorMeu from '@/components/ui/TheNavigatorMeu.vue'
import PublicWebsiteFooter from '@/components/ui/PublicWebsiteFooter.vue'
import PublicHeader from '@/components/ui/PublicHeader.vue'
import PublicSearch from '@/components/ui/PublicSearch.vue'
import PublicTopMenu from '@/components/ui/PublicTopMenu.vue'
import PublicWebsiteMenu from '@/components/ui/PublicWebsiteMenu.vue'
import {i18n,loadLocaleMessages} from './i18n'
// 导入全局样式
import './assets/styles/main.scss'

const FrontEndLibrary = {
	install(Vue) {
		Vue.component('TheHeader', TheHeader)
		Vue.component('TheCategory', TheCategory)
		Vue.component('TheMarket', TheMarket)
		Vue.component('TheNavigatorMeu', TheNavigatorMeu)
		Vue.component('PublicWebsiteFooter', PublicWebsiteFooter)
		Vue.component('PublicHeader',PublicHeader)
		Vue.component('PublicSearch',PublicSearch)
		Vue.component('PublicTopMenu',PublicTopMenu)
		Vue.component('PublicWebsiteMenu',PublicWebsiteMenu)
	}
}

// 导出组件
export { TheHeader }
export { TheCategory }
export { TheMarket }
export { TheNavigatorMeu }
export { PublicWebsiteFooter }
export { PublicHeader }
export { PublicSearch }
export { PublicTopMenu }
export { PublicWebsiteMenu }
export {i18n,loadLocaleMessages}
// 导出插件
export default FrontEndLibrary
